import variables from '@/assets/styles/element-variables.module.scss'
const state = {
    theme: variables.theme
}

const mutations = {
    CHANGE_SETTING: (state, { key, value }) => {
        if (state.hasOwnProperty(key)) {
            state[key] = value
        }
    }
}

export default {
    namespaced: true,
    state,
    mutations
}
